<template>
  <div style="height:100%;">
    <iframe :src="url" frameborder="0" style="height: 100%;
    width: 100%;"></iframe>
  </div>
</template>

<script lang="ts"  setup>

  import {useRoute} from "vue-router"
  import {getToken} from "/@/utils/auth";

  const router = useRoute()

  let receiptnum = router.query.receiptnum
  let token = getToken()
  let url = `/eamboot/jmreport/view/892632920087810048?receiptnum=${receiptnum}&token=${token}`
  console.log(receiptnum);


</script>

<style scoped>

</style>
